import { MENU_COLLAPSED_STATUS } from '@/constants';

export function getMenuCollapsedStatus(): boolean {
  const res = localStorage.getItem(MENU_COLLAPSED_STATUS) || '';
  return res === 'true';
}

export function setMenuCollapsedStatus(status: boolean) {
  localStorage.setItem(MENU_COLLAPSED_STATUS, String(status));
}
